solving exponential equations without logarithms